/* pages/memberRights/memberRights.wxss */
.page-member-rights {
  // min-height: 100vh;
  height: 100vh;
  overflow: scroll;
  background-color: #f2f2f2;
  background-repeat: no-repeat;

  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  // height: 671rpx;
  padding: 0 0 45rpx;
  box-sizing: border-box;
}

.header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 292rpx;
}

.level {
  padding: 0 45rpx 2%;

  .title {
    position: relative;
    color: #fff;
    text-align: center;
  }

  .bar {
    display: flex;
    justify-content: center;
    // padding-top: 36rpx;

    .bar-item {
      display: flex;
      align-items: center;
    }

    .bar-line {
      width: 132rpx;
      height: 1px;
      margin: 0 10rpx;
      background: #fff;
      opacity: 0.4;
    }

    .bar-dot {
      width: 16rpx;
      height: 16rpx;
      border-radius: 50%;
      background: #fff;
    }
  }

  .level-text {
    display: flex;
    justify-content: space-between;
    gap: 77rpx;
    margin-top: 18rpx;
    padding: 0 30rpx;
    font-size: 23rpx;
    color: #fff;
  }

  .bar-dot,
  .level-text>view {
    opacity: 0.4;

    &.active {
      opacity: 1;
    }
  }

}

swiper {
  position: relative;
  flex: 1;
  width: 100%;
  margin: 20rpx 0 0;
  box-sizing: border-box;

  swiper-item {
    display: flex;
    flex-direction: column;

    .top {
      padding: 0 45rpx 0;

      .card {
        position: relative;
        width: 660rpx-50;
        height: 313rpx-50;
        padding: 25rpx;
        // margin-top: 46rpx;
        border-radius: 20rpx;

        .name {
          font-size: 50rpx;
          line-height: 66rpx;
        }

        .tip {
          // position: relative;
          margin: 58rpx 0 22rpx;
          font-size: 23rpx;
          color: #55536c;

          &.nobar {
            margin-bottom: 81rpx;
          }
        }

        .point-bar-wrap {
          width: 360rpx;
          // height: 8rpx;
          border-radius: 4rpx;
          overflow: hidden;
          background: rgba(255, 255, 255, 0.8);

          .point-bar {
            height: 8rpx;
            background: #36355c;
          }
        }

        .tip-2 {
          margin-top: 51rpx;
          font-size: 18rpx;
          color: #666584;
          opacity: 0.9;

          &.hidden {
            visibility: hidden;
          }
        }
      }
    }

    .bottom {
      flex: 1;
      // overflow: scroll;
      display: flex;
      flex-direction: column;
      margin: 70rpx 15rpx 0;
      overflow: hidden;


      .title {
        display: flex;
        align-items: center;
        font-size: 30rpx;
        line-height: 40rpx;
        padding: 24rpx 20rpx;
        border-bottom: 1px solid rgba(112, 112, 112, 0.1);
        background: white;
        border-radius: 16rpx 16rpx 0 0;

        .des {
          font-size: 25rpx;
          color: #7e7e7e;
        }
      }

      .rights-wrap {
        flex: 1;
        overflow-y: scroll;
        // padding: 0 0 100rpx;
      }

      .rights {
        // height: auto;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        padding: 25rpx 35rpx 35rpx;
        background: white;
        border-radius: 0 0 16rpx 16rpx;

        .right {
          width: 25%;

          image {
            width: 100%;

            &.disabled {
              opacity: 0.3;
            }
          }
        }
      }
    }
  }

}